import { FC, PropsWithChildren } from 'react'

interface ButtonProps extends PropsWithChildren {
  type?: 'button' | 'submit' | 'reset'
}

const Button: FC<ButtonProps> = ({ type = 'button', children }) => {
  return <button type={type}>{children}</button>
}

export default Button
